package org.wang.generalcode.modules.exam.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 试卷信息表
 *
 * @author wz 1013069553@qq.com
 * @since 1.0.0 2024-11-29
 */
@Data
@Schema(description = "试卷信息表")
public class TestPaperInfoVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "试卷名称")
    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "试卷总分")
    private Integer mark;

    @Schema(description = "年级id")
    private Integer gradeInfoId;

    @Schema(description = "所属科目id")
    private Integer subjectId;

    @Schema(description = "考试时间")
    private Integer examTime;

    @Schema(description = "是否发布")
    private Integer publishFlag;

    @Schema(description = "试题数量")
    private Integer questionNumber;

    @Schema(description = "年级名称")
    private String gradeInfoName;

    @Schema(description = "科目名称")
    private String subjectName;
}